/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.htk.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 每日资讯信息Entity
 * @author htk
 * @version 2018-04-26
 */
public class HtkHmdz extends DataEntity<HtkHmdz> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// name
	private String fav;		// fav
	private String constellation;		// 星座
	private String address;		// 地址
	private String job;		// 工作
	private String topic;		// 推荐话题
	
	public HtkHmdz() {
		super();
	}

	public HtkHmdz(String id){
		super(id);
	}

	@Length(min=0, max=64, message="name长度必须介于 0 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="fav长度必须介于 0 和 64 之间")
	public String getFav() {
		return fav;
	}

	public void setFav(String fav) {
		this.fav = fav;
	}
	
	@Length(min=0, max=255, message="星座长度必须介于 0 和 255 之间")
	public String getConstellation() {
		return constellation;
	}

	public void setConstellation(String constellation) {
		this.constellation = constellation;
	}
	
	@Length(min=0, max=255, message="地址长度必须介于 0 和 255 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=255, message="工作长度必须介于 0 和 255 之间")
	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}
	
	@Length(min=0, max=255, message="推荐话题长度必须介于 0 和 255 之间")
	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}
	
}